package org.example.domain.strategy.repository;

import org.example.domain.strategy.model.entity.StrategyAwardEntity;

import java.util.List;
import java.util.Map;

public interface IStrategyRepository {
    boolean queryIfExistStrategyAwardSearchRateMap(Long StrategyId);
    List<StrategyAwardEntity> queryStrategyAwardList(Long StrategyId);
    void storeStrategyRateMapAndRange(String strategyId, Map<Integer, Long> map, Integer range);
    Integer getRateRange(Long strategyId);
    Integer getRateRange(String key);
    Long getStrategyAwardIdFromMap(Long strategy, Integer randomKey);
    Long getStrategyAwardIdFromMap(String key, Integer randomKey);

    List<String> queryRuleModelsByStrategyId(Long strategyId);
}
